package org.example.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class PageBean {
    private Long total; //总记录数
    private List<Emp> rows; //当前页数据列表

    public PageBean() {
    }

    public PageBean(Long total, List<Emp> rows) {
        this.total = total;
        this.rows = rows;
    }
}
